package com.example.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author HL
 */
@Data
@TableName("schedule")
public class Schedule {
    private Integer id;
    private Integer userId;
    private String bookName;
    private Integer learn;
    private Integer review;

    public Schedule(Integer userId, String bookName) {
        this.userId = userId;
        this.bookName = bookName;
    }

    public Schedule(Integer userId, String bookName, Integer learn, Integer review) {
        this.userId = userId;
        this.bookName = bookName;
        this.learn = learn;
        this.review = review;
    }
}
